package com.paddyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.paddyi.model.User;
import com.paddyi.model.vo.UserVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 用户 (User)
 *
 * @author paddy
 * @since 2019-04-26 04:34:10
 */
@Component
public interface UserMapper extends BaseMapper<User> {

    UserVo selectUserVoByLoginName(@Param("loginName") String loginName);
    UserVo selectUserVoById(@Param("id") Long id);
    List<UserVo> selectUserVoPage(@Param("params")Map<String, Object> params);
}